package com.guo.hui.dao.blog;

import java.util.List;
import java.util.Map;

import org.springframework.cache.annotation.Cacheable;

import com.guo.hui.model.blog.TpArticle;

public interface TpArticleMapper {

	void deleteById(Integer id);

	void insert(TpArticle record);

	TpArticle selectById(Integer id);

	void update(TpArticle record);

//	@Cacheable(value = "test1", condition = "#map!=null")
	List<TpArticle> selectByMap(Map<String, Object> map);
}